package com.pig4cloud.pig.module.api.entity.devices;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 一体机的管理员对象 devices_manager
 *
 * @author ruoyi
 * @date 2022-06-24
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("devices_manager")
public class DevicesManager implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 设备id
     */
    private Integer deviceId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 微信open_id
     */
    private String openId;

    /**
     * 微信union_id
     */
    private String unionId;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 状态
     */
    private Integer state;

    @TableField(exist = false)
	private String faceUrl;

}
